<?php

namespace App\Modules\System\Services;

use  App\Modules\System\Models\Dictionary;

class DictionaryService
{
    /**
     * 用餐字典列表
     * @param array $data
     * @return mixed
     */
    public static function getList($dictionary_id) {
        return Dictionary::getList($dictionary_id);
    }

    /**
     * 用餐字典详情
     * param int $task_id 任务ID
     */
    public static function getDictionary($key){
        return Dictionary::getDictionary($key);
    }
}